package com.wb.proxy.jdk.service.impl;

import com.wb.proxy.jdk.domain.Student;
import com.wb.proxy.jdk.service.StudentService;

/**
 * @author 魏彪
 */
public class StudentServiceImpl implements StudentService {
    @Override
    public void save(Student student) {
        System.out.println("保存成功");
    }

    @Override
    public Student query() {
        Student student = new Student();
        student.setName("way");
        student.setAge(18);
        return student;
    }
}
